project
Dungeons & Generators
ExpressFirebaseMantine UINode.jsOpenAI APIREST APIReactTypescript

An advanced fullstack project integrating AI-powered procedural content generation for TTRPGs using the OpenAI API. Features fully custom REST API endpoints built with Firebase Functions (serverless), Express, and Zod for strict schema validation and type-safe request handling. The project utilizes Cloudflare Workers for global edge proxying, domain routing, and additional security layers. Rate limiting is handled via Upstash Redis using custom-built distributed token bucket algorithms, ensuring scalability under load. Shared TypeScript types are managed across backend and frontend via a monorepo with custom shared packages to maintain type safety throughout the application. The frontend is built with React and Mantine UI, providing a highly responsive, clean user experience while allowing users to quickly generate, browse, and preview multiple AI-generated magic items simultaneously. Project designed for eventual extensibility into full character, monster, encounter, and location generation. Key technologies: Typescript, React, Mantine UI, Node.js, Express, Firebase Functions, Cloudflare Workers, Upstash Redis, OpenAI API, Zod, RESTful API Design, SaaS-style architecture.